Skip to content

Conversation

fergbrain
Copy link

Deploy script for use with a local Plex Media Server. Could help resolve Issue #3474.

Note: Originally submitted under #3909, but I think I accidentally closed that one and didn't realize it.

@fergbrain fergbrain mentioned this pull request Jun 10, 2025
@fergbrain
Copy link
Author

#3909 (comment)

it would be good if you could customize the restart command using a variable, e.g. to “docker restart ”.

I updated the patch. I host Plex through Synology now, so I can't test it myself. @strausmann you able to confirm it work as expected?

@strausmann
Copy link

@fergbrain looks good for me.

 export PLEX_RELOAD="docker restart seedbox-plexserver"
 export PLEX_PKCS12_file=/docker/plexserver/ssl/plex.domain.de.pfx
 export PLEX_PKCS12_password=Plex#Passw0rd

image

#_DEPLOY_PLEX_WIKI="https://github.com/acmesh-official/acme.sh/wiki/deploy-to-plex"

_plex_to_pkcs() {
# The existing _toPkcs command doesn't have an option to specify cipher, so copied here
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't copy.
modify the _toPkcs function to use a cipher

@@ -0,0 +1,108 @@
#!/usr/bin/bash
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shebang


# Settings for Plex Media Server:
#
# PLEX_PKCS12_password -- Password for the PKCS file. Required by plex
Copy link

@paulschreiber paulschreiber Jul 27, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Plex 1.41.5 (on Synology DSM 7.2.2) accepts empty/blank passwords.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants